<?php echo $myContactSearchForm->renderGlobalErrors()?>
      <?php  
        include_partial(
          'search_grid',
          array(
            'contacts'=>$contacts,
            'select_url'=>'contact/edit',
          )
        )
      ?>
<script language="javascript">
  $(document).ready(
    function(){
      contactSetupSearchGridSelect();
    }
  );
</script>